set GWT_HOME=D:\src\lib\gwt2\trunk\build\staging\gwt-windows-2.0.0
@if "%GWT_HOME%"=="" goto needGWTHome
@java -Xmx256m -cp "%~dp0\src;%GWT_HOME%\gwt-user.jar;%GWT_HOME%\gwt-dev-windows.jar;D:\src\lib\google\gwt-gadgets-1.0.3\gwt-gadgets.jar;D:\src\lib\google\gwt-gadgets-1.0.3\gadget-linker.jar" com.google.gwt.dev.Compiler -war "%~dp0\war" %* name.webdizz.gadget.four.envelope.Envelope
@exit /B %ERRORLEVEL%

:needGWTHome
@echo The environment variable GWT_HOME is not defined, it should point to a valid GWT installation.
@exit /B 1
